<?php
/**
* single url configuration. one pattern => one view
*/
class Django_urlConf extends databean {

	protected $pattern;
	
	protected $view;
	
	/**
	* tells wether urlconf match http request
	* @access public
	* @param django_httprequest $request
	* @return bool
	*/
	public function matchRequest($request) {
		$uri=$request->getUri(); //echo $uri;
		return ereg($this->pattern,$uri);
	}/**/

}
?>
